import yagmail
#封装邮件
def mail_send(filename):
    mail=yagmail.SMTP(user="2609277512@qq.com",password="mfwqcodyhqaeebed",host="smtp.qq.com")
    mail.send(to="2609277512@qq.com",subject="维度电商系统接口测试报告",contents="这是关于维度电商新增收货地址的接口报告",attachments=filename)